cmake_minimum_required(VERSION 3.0.0)
project(curlp_build VERSION 0.1.0)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
include_directories(/usr/include/x86_64-linux-gnu)

include(CTest)
enable_testing()

add_executable(curlp_build main.cpp)

target_link_libraries(${PROJECT_NAME} curl)
target_link_libraries(${PROJECT_NAME} pthread)

set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
